/**
 * jims
 */
package com.jims.master.modules.finance.entity;

import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 结算明细Entity
 * @author 赵宁
 * @version 2017-03-29
 */
public class InpSettleDetail extends DataEntity<InpSettleDetail> {
	
	private static final long serialVersionUID = 1L;
	private String masterId;		// 结算主表ID
	private String rcptNo;		// 结算序号
	private String feeClass;		// 收据费用分类
	private Double costs;		// 总费用
	private Double payments;		// 实收费用
	private String orgId;		// 机构ID
	
	public InpSettleDetail() {
		super();
	}

	public InpSettleDetail(String id){
		super(id);
	}

	@Length(min=1, max=64, message="结算主表ID长度必须介于 1 和 64 之间")
	public String getMasterId() {
		return masterId;
	}

	public void setMasterId(String masterId) {
		this.masterId = masterId;
	}
	
	@Length(min=1, max=100, message="结算序号长度必须介于 1 和 100 之间")
	public String getRcptNo() {
		return rcptNo;
	}

	public void setRcptNo(String rcptNo) {
		this.rcptNo = rcptNo;
	}
	
	@Length(min=1, max=10, message="收据费用分类长度必须介于 1 和 10 之间")
	public String getFeeClass() {
		return feeClass;
	}

	public void setFeeClass(String feeClass) {
		this.feeClass = feeClass;
	}

	public Double getCosts() {
		return costs;
	}

	public void setCosts(Double costs) {
		this.costs = costs;
	}

	public Double getPayments() {
		return payments;
	}

	public void setPayments(Double payments) {
		this.payments = payments;
	}

	@Length(min=1, max=64, message="机构ID长度必须介于 1 和 64 之间")
	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}
	
}